#include "unit1.h"

GLuint unit1::tex;

unit1::unit1(int nx, int ny, int nang, int nwidth, int nheight)
{
    //tex = ntex; //Texture integer
    ang = nang; //Angle
    x = nx;
    y = ny;
    originx = x;
    originy = y;
    width = nwidth;
    height = nheight;
    hp = 5;
    bounty = 1;
    progress = 0.0;
    slowTowerMod = 0;
    slowTowerDur = 0;
}

GLuint unit1::gettex()
{
    return tex;
}
